package com.youkeyi.ddy.cloud.common.api.application.applet.crm.customer;

import com.youkeyi.ddy.cloud.common.api.application.applet.crm.customer.dto.AppletCustomerFollowListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.applet.crm.customer.param.AppletCustomerFollowCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.applet.crm.customer.param.AppletCustomerFollowDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.applet.crm.customer.param.AppletCustomerFollowListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.applet.crm.customer.param.AppletCustomerFollowUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * AppletCustomerFollowCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/applet/customer/follow/fallback")
public class AppletCustomerFollowCloudServiceFallback implements AppletCustomerFollowCloudService {

    @Override
    public AppletCustomerFollowListCloudDto list(AppletCustomerFollowListCloudParam param) {
        return new AppletCustomerFollowListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(AppletCustomerFollowCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(AppletCustomerFollowUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(AppletCustomerFollowDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
